﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace AbpToDomain.EntityInfo
{
    public class WorkerOrder:Entity
    {
        [Key]
        public Guid Id_WorkerOrder {  get; set; }
        [Comment("上架or下架")]
        public string Type { get; set; }
        [Comment("起始位置")]
        public string StartPlace {  get; set; }
        [Comment("目标位置")]
        public string EndPlace { get; set; }
        [Comment("箱盒")]
        public string BoxCode { get; set; }
        public DateTime CreatTime { get; set; }
        public override object[] GetKeys()
        {
            return new object[] { Id_WorkerOrder };
        }
        //foreignkey
        public MaterialOrder? TheMaterialOreder { get; set; }
        //function
    

    }
}
